home *** CD-ROM | disk | FTP | other *** search
- /* DialogAids.h */ /* called by Range.c */
-
- #ifndef __DIA__
- #define __DIA__
-
- #include "Scrolling.h" /* for typedef ScrollProcPtr */
-
- /*----------*/
- Rect GetDRect (short itemNr);
- pascal void LineItem (DialogPtr dialog,
- short itemNr);
- pascal void RectItem (DialogPtr dialog,
- short itemNr);
- void SetUserItem (short itemNr,
- ProcPtr doDraw);
- void OutlineButton (short itemNr);
- void EnableDItem (short itemNr,
- Boolean enable);
- void SetDText (short itemNr,
- Str255 text);
- void GetDText (short itemNr,
- Str255 text);
- void SetDNum (short itemNr,
- long num);
- void GetDNum (short itemNr,
- long *num);
- void SetCheckbox (short itemNr,
- Boolean checked);
- void DoCheckbox (short itemNr,
- Boolean *checked);
- void SetRadio (short firstItem,
- short choice);
- void DoRadio (short firstItem,
- short itemNr,
- short *choice);
- void DoIconRadio (short firstIcon,
- short itemNr,
- short *choice);
- void SetCtlChoice (short itemNr,
- short choice);
- short GetCtlChoice (short itemNr);
- void DoPalette (short itemNr,
- short *choice);
- void DoMultiState (short itemNr,
- short *value);
- void SetScrollItem (short itemNr,
- short value,
- short min,
- short max,
- short pageSize);
- void DoScrollItem (short itemNr,
- short *value);
- void DrawPopup (short itemNr,
- short menuID,
- short choice);
- void DoPopup (short itemNr,
- short menuID,
- short *choice);
- void InvertLabel (short itemNr);
- ListHandle Vert1List (short itemNr);
- Boolean FilterList (EventRecord *event,
- ListHandle list,
- short listItem,
- short dblClickItem,
- short *itemHit);
-
- Boolean FilterScroll (EventRecord *event,
- short scrollItem,
- ScrollProcPtr actionProc,
- short *itemHit);
-
- void FilterIcon (EventRecord *event,
- short firstIcon,
- short choice);
-
- pascal Boolean StandardFilter (DialogPtr whichDialog,
- EventRecord *event,
- short *itemHit);
-
- short DoModalEvent (ModalFilterProcPtr filterProc);
- void MovableDialog (ModalFilterProcPtr filterProc,
- short *itemHit);
-
- #endif /* __DIA__ */